import 'package:bruno/bruno.dart';
import 'package:flutter/cupertino.dart';

class RadioItem extends BrnRadioButton{

  final String? label;

  RadioItem({
    super.key,
    required super.radioIndex,
    required super.onValueChangedAtIndex,
    super.isSelected,
    super.disable,
    this.label
  }) : super(
    child: Padding(
      padding: const EdgeInsets.only(left: 5, right: 5),
      child: Text(label??'', style: const TextStyle(fontSize: 18),),
    )
  );
}